from turbogears import *

import blockarticle.model as model

class ArticleList(controllers.Controller):
    @expose(template="blockarticle.templates.articlelist.index")
    def index(self):
        import time
        Articles = model.Article.select()
        return dict(articles=Articles)